package com.owg.jigsaw.test;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.stage.Stage;

public class FXMLLauncher extends Application
{	
    @Override
    public void start(Stage stage) throws Exception {
    	FXMLLoader loader = new FXMLLoader(getClass().getResource("default.fxml"));
       Parent ui = loader.load();
       loader.<WindowBuilderController>getController().start(stage, ui);
    }
    
    public static void main(String[] args)
	{
		launch(FXMLLauncher.class, args);
	}
}
